package com.share.finance.asset.sjd.model.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户绑卡信息
 * </p>
 *
 * @author author
 * @since 2023-09-08
 */
@Data
@Accessors(chain = true)
@TableName("ast_user_bind_card")
public class UserBindCard implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private String userId;
    /**
     * 业务编码
     */
    @TableField(value = "business_code")
    private String businessCode;
    /**
     * 银行卡号
     */
    @TableField(value = "bank_card_no")
    private String bankCardNo;
    /**
     * 持卡人姓名
     */
    @TableField(value = "holder_card_name")
    private String holderCardName;
    /**
     * 银行卡安全码
     */
    @TableField(value = "card_security_code")
    private String cardSecurityCode;
    /**
     * 银行卡有效期 YYYYMMDD
     */
    @TableField(value = "card_valid_date")
    private String cardValidDate;
    /**
     * 绑卡状态,00-处理中；01-已绑卡；02-未绑卡
     */
    private String status;
    /**
     * 删除标记,0-未删除，1-已删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;
    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

}
